package com.xjgc.ws.util;

import com.xjgc.sap.ws.client.ZXJMESBACK;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;


public class MsiToSapClient {
	public static void main(String[] args){
		//初始化spring的上下文
		ApplicationContext context = new ClassPathXmlApplicationContext("classpath:cxf-client.xml");
		ZXJMESBACK  msiToSap = (ZXJMESBACK) context.getBean("ZXJ_MES_BACK");
			
		String result = msiToSap.zxjMesBack("", "", "", "");
		System.out.println("=================   "+result);
	}

}
